.form_box {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    font-family: '华文行楷';
    box-shadow: 0 0 5px gray;
    padding: 30px;
    box-sizing: content-box;
    background-color: #F4F4F4;
    /*margin-top: 50px;*/
    display: flex;
    flex-flow: column;
    font-size: 30px;
    justify-content: center;
    align-items: center;
}

hr {
    width: 100%;
    margin: 0;
}

hr:nth-of-type(1) {
    margin-top: 10px;
}

hr:nth-of-type(2) {
    margin-top: 5px;
    margin-bottom: 20px;
}

input {
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 16px;
    width: 300px;
    height: 20px;
}

h2 {
    font-family: '华文隶书';
    margin-top: 0;
    padding: 0;
}

.btn{
    display: flex;
    flex-flow: row;
}
a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #31332f;
    text-decoration: none;
    box-sizing: border-box;
}
ul{
    margin: 0;
    padding:0;
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
}
ul>li{
    border-right: #d5d3d1 1px solid;
    padding:0 5px 0 5px;
    transition: all 0.1s linear;
}
ul a{
    background-color: #F4F4F4 ;
    text-align: right;
    color: #666666;
    font-size: 15px;
    text-decoration: none;
    border-radius: 3px;
}
ul a:hover{
    color: #31332f;
    box-shadow: 0 0 2px #D4D2CFFF;
}
ul>li:last-child{
    border: none;
}
ul>li:hover{
    transform: scale(1.1);
}
.button_login, .button_reg {
    margin-top: 20px;
    margin-left: 10px;
    font-size: 16px;
    width: 100px;
    height: 30px;
    background-color: #00B7FF;
    border: 1px solid blue;
    border-radius: 5px;
    box-shadow: 0 0 5px gray;
    cursor: pointer;
    transition: all 0.2s linear;
}

.button_login:hover, .button_reg:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px gray;
    background-color: #666666;
}